package com.easybbs.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author: yudaxian
 * @Description: 配置类，获取配置文件中的参数
 * @DateTime: 2024/10/18 14:27
 **/
@Getter
@Component
public class WebConfig {
    @Value("${spring.mail.username:}")
    private String sendUserName;

    @Value("${project.folder:}")
    private String projectFolder;

}
